/*
 * @Descripttion:
 * @version:
 * @Author: pyq
 * @Date: 2024-10-15 17:08:17
 * @LastEditors: pyq
 * @LastEditTime: 2024-10-16 17:12:49
 */
import Router from "koa-router";
import userRouter from "./user.js";
import fileRouter from "./fileRoutes.js";
import homeRouter from "./homeRoutes.js";
import concernRouter from "./concernRoutes.js";
import collectRouter from "./collectRoutes.js";

const router = new Router();

router.use(userRouter.routes(), userRouter.allowedMethods());
router.use(fileRouter.routes(), fileRouter.allowedMethods());
router.use(homeRouter.routes(), homeRouter.allowedMethods());
router.use(concernRouter.routes(), concernRouter.allowedMethods());
router.use(collectRouter.routes(), collectRouter.allowedMethods());

export default router;
